//
//  NRWCarPhotoCropperVC.h
//  New_Runway
//
//  Created by 张记 on 2018/5/31.
//  Copyright © 2018年 NelsonJ. All rights reserved.
//

#import "NRWCarRootViewController.h"
@class NRWCarPhotoCropperVC;

@protocol PhotoCropperDelegate<NSObject>
-(void)photoCropper:(NRWCarPhotoCropperVC *)cropperVC didFinished:(UIImage *)editedImage;
-(void)photoCropperDidCancel:(NRWCarPhotoCropperVC *)cropperVC;

@end

@interface NRWCarPhotoCropperVC : NRWCarRootViewController
@property (nonatomic, assign) NSInteger tag;
@property (nonatomic, assign) id<PhotoCropperDelegate> delegate;
@property (nonatomic, assign) CGRect cropFrame;

- (id)initWithImage:(UIImage *)originalImage cropFrame:(CGRect)cropFrame limitScaleRatio:(NSInteger)limitRatio;
@end
